package cn.tedu._03vehicle.mapper;

import cn.tedu._03vehicle.pojo.dto.VehicleListQuery;
import cn.tedu._03vehicle.pojo.entity.Vehicle;
import cn.tedu._03vehicle.pojo.vo.VehicleListVO;

import java.util.List;

public interface VehicleMapper {
    int insertVehicle(Vehicle vehicle);

    List<VehicleListVO> list(VehicleListQuery vehicleListQuery, Long userId);

    int deleteById(Long id, Long userId);
}
